<?php

class MemberCrudController extends Controller
{
	public $crdMember;
	public function __construct()
	{
		$this->crdMember= new crud_member(); 
	}
	
	public function actionIndex()
	{
		$this->render('index');
	}
	
	public function actionGetAllMember()
	{
		$this->crdMember->getAllMember();
	}
	
	public function actionInsert()
	{
		$this->crdMember->insert();
	}
	
	public function actionUpdate()
	{
		$this->crdMember->update();
	}
	
	public function actionDelete()
	{
		$this->crdMember->delete();
	}
}